<ul class="list-group row">

  @foreach ($issues as $index => $issue)
   <li class="list-group-item media"
           @if($issue->vote_count >= 2)
                style="margin-top: 0px; background-color: #fffce9"
           @else
                style="margin-top: 0px;"
           @endif
           >

    <div class="avatar pull-left">
      <a href="{{ route('users.show', [$issue->user_id]) }}">
        <img class="media-object img-thumbnail avatar" alt="{{{ $issue->user->name }}}" src="{{ $issue->user->present()->gravatar }}"  style="width:48px;height:48px;"/>
      </a>
    </div>

    <div class="infos">

      <div class="media-heading meta">

        <a href="{{ route('users.show', [$issue->user_id]) }}" title="{{{ $issue->user->name }}}" class="remove-padding-left author">
            {{{ $issue->user->name }}}
        </a>

        <span> •  </span>
        <abbr class="timeago" title="{{ $issue->created_at }}">{{ $issue->created_at }}</abbr>

        <span class="operate pull-right">
        </span>

      </div>

      <div class="media-body markdown-reply content-body">
        <a href="{{ route('issues.show', [$issue->id]) }}">{{ $issue->title }}</a>
      </div>

    </div>

  </li>
  @endforeach

</ul>
